from django.urls import path

from . import views

app_name = 'chat'
urlpatterns = [
	path('', views.index, name='index'),
	path('chatgroup/<int:group_id>/', views.chatgroup, name='chatgroup'),
	path('send_message/<int:group_id>/', views.send_message, name='send_message'),
	path('join_group/<int:group_id>/', views.join_group, name='join_group'),
	path('create_group/', views.create_group, name='create_group'),
	path('delete_member/<int:group_id>', views.delete_member, name='delete_member'),
	path('search_group', views.search_group, name='search_group')
]
